// 响应接口
export interface DeleteRes {
    /* */
    success: boolean;

    /* */
    message: string;

    /* */
    data: Record<string, unknown>;
}

// 参数接口
export interface QueryParams {
    /* */
    pageNum?: number;

    /* */
    pageSize?: number;
}

// 响应接口
export interface QueryRes {
    /* */
    success: boolean;

    /* */
    message: string;

    /* */
    data: {
        /* */
        id: number;

        /* */
        name: string;

        /* */
        namePinyin: string;

        /* */
        namePy: string;

        /* */
        createTime: Record<string, unknown>;

        /* */
        updateTime: Record<string, unknown>;
    }[];

    /* */
    total: number;
}

// 参数接口
export interface SaveParams {
    /* */
    id?: number;

    /* */
    name: string;

    /* */
    namePinyin: string;

    /* */
    namePy: string;

    /* */
    createTime?: Record<string, unknown>;

    /* */
    updateTime?: Record<string, unknown>;
}

// 响应接口
export interface SaveRes {
    /* */
    success: boolean;

    /* */
    message: string;

    /* */
    data: Record<string, unknown>;
}

// 响应接口
export interface QueryListRes {
    /* */
    success: boolean;

    /* */
    message: string;

    /* */
    data: {
        /* */
        id: number;

        /* */
        name: string;

        /* */
        namePinyin: string;

        /* */
        namePy: string;

        /* */
        createTime: Record<string, unknown>;

        /* */
        updateTime: Record<string, unknown>;
    }[];
}